package com.kdgc.power.base.mapper;

import com.kdgc.power.base.entity.BaseRegion;
import com.kdgc.power.fw.bean.TreeNode;
import org.beetl.sql.mapper.BaseMapper;
import org.beetl.sql.mapper.annotation.SpringData;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BaseRegionMapper extends BaseMapper<BaseRegion> {
    List<TreeNode> getTreeList();
    List<TreeNode> findByParentId(String parentId);
}